using System;
using Jandaya.Framework.Core.Acesso;

namespace Jandaya.Framework.Application
{
	public class AuthenticationInfo
	{
		public AuthenticationInfo(){}
		
		public void SetAuthenticatedUser( Usuario pUser ){
			SessionUser = pUser;
			LoginDate = DateTime.Now;
		}
		
		public void LogOut(){
			SessionUser = null;
		}
		
		public Usuario SessionUser{ get; set; } 
		public DateTime LoginDate{ get; set; }
	}
}

